package com.evil.common.application.dto.process;

import com.evil.common.application.dto.ApplicationKeyVersionReqDTO;
import com.evil.common.application.enums.permission.ApplicationPermissionTypeEnum;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import org.hibernate.validator.constraints.Range;

/**
 * 动态处理人权限类型
 *
 * @author liyang
 * @date 2022-08-08 00:00
 */
@Data
@NoArgsConstructor
@EqualsAndHashCode(callSuper = true)
public class DynamicHandlerControlListReqDTO extends ApplicationKeyVersionReqDTO {

    /**
     * 权限类型（限制选择控件权限）{@link ApplicationPermissionTypeEnum}
     */
    @Range(min = 5, max = 7, message = "权限类型参数错误")
    private Integer permissionType;
}
